import json

with open("C:/Users/Administrator/Desktop/天气预报json.txt", "r", encoding="utf-8") as f:
    data = json.load(f)

city = data["result"]["city"]
future_weather = data["result"]["future"][:3]

print("苏州市未来3天天气情况：")
for weather in future_weather:
    date = weather["date"]
    temperature = weather["temperature"]
    weather_info = weather["weather"]
    print(f"{date}：{temperature}，{weather_info}")
